home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 352_01.zip / LCBELOW.CPP < prev    next >
C/C++ Source or Header  |  1993-04-10  |  395b  |  17 lines

  1. // LCBELOW.CPP -
  2. //         contains LinkClass::insertBelow()
  3. //        routine for inserting a new node below the 'this' node.        
  4. #include <stdlib.h>
  5. #include <alloc.h>
  6. #include <iostream.h>
  7. #include "wtwg.h"
  8.  
  9. #include "dblib.h"
  10.     void LinkClass::insertBelow ( LinkClass &existing )
  11.     {
  12.     pv = existing.pv;
  13.     nx = &existing;
  14.     pv->nx = this;
  15.     nx->pv = this; 
  16.     };    // end LinkClass::insertBelow()
  17.